home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 31
/
Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso
/
Aminet
/
comm
/
tcp
/
PortalOpening2.lha
/
Install
next >
Wrap
Text File
|
1980-01-11
|
4KB
|
195 lines
; *******************************
; * *
; * 3 AMIGOS Software (c) 98-99 *
; * *
; * Portal Opening v2.0 *
; * Client v2.0: c0mpl3x0 *
; * Server v2.0: Whee_Cool *
; * Prefs v2.0: Whee_Cool *
; * *
; * http://www.escape-net.org *
; * *
; *******************************
;------- Prompts ---------------------------------
;
(set DestDirPrompt
(cat "Where do you want to install Portal Opening v2.0 [PO2] ?\n"
"A new drawer will be created."
)
)
;------- Help ------------------------------------
;
(set DestDirHelp
(cat "Choose a directory where PO2 will be placed.\n"
"All the relevant files will be copied over to that\n"
"directory. You will then be able to use PO2\n"
"from your chosen location on your harddrive.\n"
"(e.g. Work:)"
)
)
(set POAssign
(cat "This will put the assign command in your S:User-Startup to "
"assign \"PO2\" during your Amiga's startup. "
"This is VERY important and it is advised that you "
"continue with the assign!\n"
)
)
;------- Messages --------------------------------
;
(set Intro
(cat "\n\n\n3 AMIGOS Software\n"
"(c) 1998-1999\n\n"
"Present:\n\n"
"Portal Opening v2.0\n"
)
)
(set StartupMsg
(cat "\nPortal Opening v2.0 Installation\n\n"
"This program installs PO2 and\n"
"the relevent files to your hard disk.\n\n"
"This is a complete FREE FULL version!\n"
"\n"
"Please send us your comments.\n\n"
"Contact: \n\n"
" c0mpl3x0 [Client]: admin@escape-net.org\n"
" Whee_Cool [Server]: apwheeler@apwheeler.demon.co.uk\n\n"
)
)
(set AllrightMsg
(cat "\nPO2 is now installed.\n\n"
"We hope that you enjoy the software.\n\n"
"Dave Searle [c0mpl3x0] & Andy Wheeler [Whee_Cool]\n\n"
"http://www.escape-net.org\n\n"
)
)
(set AllrightMsgRegister
(cat "\nPortal Opening is now installed.\n\n"
"Have fun!\n\n"
"Dave Searle & Andy Wheeler"
)
)
(set Reboot
(cat "\n\n\n\nPlease Reboot Your Amiga To Use\n\n"
"Portal Opening v2.0"
)
)
;------- Installation ----------------------------
;
(message Intro)
(message StartupMsg) ; Welcome the user
(set DestDir ; Ask dir to create drawer
(askdir
(prompt DestDirPrompt)
(help DestDirHelp)
(Default "SYS:")
)
)
(set DestDir ; And create this directory
(tackon DestDir "PortalOpening2")
)
(MakeDir
(DestDir)
(infos)
)
(set @Default-dest (DestDir))
(copyfiles
(help @copyfiles-help)
(Source "PO2Server")
(dest DestDir)
(infos)
)
(copyfiles
(help @copyfiles-help)
(Source "PO2Client")
(dest DestDir)
(infos)
)
(copyfiles
(help @copyfiles-help)
(Source "PO2Client.info")
(dest DestDir)
(infos)
)
(copyfiles
(help @copyfiles-help)
(Source "PO2Prefs")
(dest DestDir)
)
(copyfiles
(help @copyfiles-help)
(Source "PO2Prefs.info")
(dest DestDir)
)
(copyfiles
(help @copyfiles-help)
(Source "PO2.guide")
(dest DestDir)
)
(copyfiles
(help @copyfiles-help)
(Source "PO2.guide.info")
(dest DestDir)
)
(copyfiles
(help @copyfiles-help)
(Source "Install")
(dest DestDir)
)
(copyfiles
(help @copyfiles-help)
(Source "Install.info")
(dest DestDir)
)
(startup "PortalOpening2"
(prompt "The assign \"" DestDir "\" needs to be added to the "
"\"S:User-startup\". This will allow PO to work properly! "
"This assign is VERY important!\n")
(help POAssign)
(command "assign PO2: " DestDir "\n")
)
; Create the textfile with a pointer to PO2
(textfile
(dest "t:dbtemp")
(append
"ADD services PO2 4298/tcp\n"
("ADD inetd PO2 stream tcp nowait root PO2:PO2Server PO")
)
)
; Add the lines to envarc:MiamiChangeDB (i.e. don't overwrite! Other programs
; may have their lines there too)
(Run "type t:dbtemp >>envarc:MiamiChangeDB")
; If Miami shoule be running... why not make it read the new settings?
(Run "SYS:Rexxc/RX \"ADDRESS MIAMI.1;changedb\"")
; Clean up
(delete "t:dbtemp")
(message "\n\nPO2 is now installed.\nMiami has been notified about the changes!")
(message AllrightMsg)
(message Reboot)
;------- Done ------------------------------------